package com.pzy.domain;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    private Integer userID;
    private String userName;
    private String password;
    private String gender;
    private Date birthday;

    public User(Integer userID, String userName, String password, String gender, Date birthday) {
        this.userID = userID;
        this.userName = userName;
        this.password = password;
        this.gender = gender;
        this.birthday = birthday;
    }

    public User() {
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "User{" +
                "userID=" + userID +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", gender='" + gender + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
